using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class Vw_aspnet_MembershipUsersEntity:AF_ORM.CORE.BaseEntity
    {
         public Vw_aspnet_MembershipUsersEntity()
         {
             tableName = "Vw_aspnet_MembershipUsers";


			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","ApplicationId","ApplicationId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","Comment","Comment","string",1073741823,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","CreateDate","CreateDate","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","Email","Email","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","FailedPasswordAnswerAttemptCount","FailedPasswordAnswerAttemptCount","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","FailedPasswordAnswerAttemptWindowStart","FailedPasswordAnswerAttemptWindowStart","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","FailedPasswordAttemptCount","FailedPasswordAttemptCount","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","FailedPasswordAttemptWindowStart","FailedPasswordAttemptWindowStart","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","IsAnonymous","IsAnonymous","bool",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","IsApproved","IsApproved","bool",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","IsLockedOut","IsLockedOut","bool",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","LastActivityDate","LastActivityDate","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","LastLockoutDate","LastLockoutDate","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","LastLoginDate","LastLoginDate","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","LastPasswordChangedDate","LastPasswordChangedDate","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","LoweredEmail","LoweredEmail","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","MobileAlias","MobileAlias","string",16,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","MobilePIN","MobilePIN","string",16,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","PasswordAnswer","PasswordAnswer","string",128,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","PasswordFormat","PasswordFormat","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","PasswordQuestion","PasswordQuestion","string",256,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","UserId","UserId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_MembershipUsers","UserName","UserName","string",256,false,false,true,false,"","",""));
         }
       //properties
                    
		 protected Guid m_ApplicationId;
		 protected string m_Comment;
		 protected DateTime m_CreateDate;
		 protected string m_Email;
		 protected int m_FailedPasswordAnswerAttemptCount;
		 protected DateTime m_FailedPasswordAnswerAttemptWindowStart;
		 protected int m_FailedPasswordAttemptCount;
		 protected DateTime m_FailedPasswordAttemptWindowStart;
		 protected bool m_IsAnonymous;
		 protected bool m_IsApproved;
		 protected bool m_IsLockedOut;
		 protected DateTime m_LastActivityDate;
		 protected DateTime m_LastLockoutDate;
		 protected DateTime m_LastLoginDate;
		 protected DateTime m_LastPasswordChangedDate;
		 protected string m_LoweredEmail;
		 protected string m_MobileAlias;
		 protected string m_MobilePIN;
		 protected string m_PasswordAnswer;
		 protected int m_PasswordFormat;
		 protected string m_PasswordQuestion;
		 protected Guid m_UserId;
		 protected string m_UserName;

		 public Guid ApplicationId

          { 
                get { 
                    return m_ApplicationId;}

                set{m_ApplicationId=value;

                    GetField("ApplicationId").Set();
                    GetField("ApplicationId").IsNull=(value == null);           
                    }
          }
		 public string Comment

          { 
                get { 
                    return m_Comment;}

                set{m_Comment=value;

                    GetField("Comment").Set();
                    GetField("Comment").IsNull=(value == null);           
                    }
          }
		 public DateTime CreateDate

          { 
                get { 
                    return m_CreateDate;}

                set{m_CreateDate=value;

                    GetField("CreateDate").Set();
                    GetField("CreateDate").IsNull=(value == null);           
                    }
          }
		 public string Email

          { 
                get { 
                    return m_Email;}

                set{m_Email=value;

                    GetField("Email").Set();
                    GetField("Email").IsNull=(value == null);           
                    }
          }
		 public int FailedPasswordAnswerAttemptCount

          { 
                get { 
                    return m_FailedPasswordAnswerAttemptCount;}

                set{m_FailedPasswordAnswerAttemptCount=value;

                    GetField("FailedPasswordAnswerAttemptCount").Set();
                    GetField("FailedPasswordAnswerAttemptCount").IsNull=(value == null);           
                    }
          }
		 public DateTime FailedPasswordAnswerAttemptWindowStart

          { 
                get { 
                    return m_FailedPasswordAnswerAttemptWindowStart;}

                set{m_FailedPasswordAnswerAttemptWindowStart=value;

                    GetField("FailedPasswordAnswerAttemptWindowStart").Set();
                    GetField("FailedPasswordAnswerAttemptWindowStart").IsNull=(value == null);           
                    }
          }
		 public int FailedPasswordAttemptCount

          { 
                get { 
                    return m_FailedPasswordAttemptCount;}

                set{m_FailedPasswordAttemptCount=value;

                    GetField("FailedPasswordAttemptCount").Set();
                    GetField("FailedPasswordAttemptCount").IsNull=(value == null);           
                    }
          }
		 public DateTime FailedPasswordAttemptWindowStart

          { 
                get { 
                    return m_FailedPasswordAttemptWindowStart;}

                set{m_FailedPasswordAttemptWindowStart=value;

                    GetField("FailedPasswordAttemptWindowStart").Set();
                    GetField("FailedPasswordAttemptWindowStart").IsNull=(value == null);           
                    }
          }
		 public bool IsAnonymous

          { 
                get { 
                    return m_IsAnonymous;}

                set{m_IsAnonymous=value;

                    GetField("IsAnonymous").Set();
                    GetField("IsAnonymous").IsNull=(value == null);           
                    }
          }
		 public bool IsApproved

          { 
                get { 
                    return m_IsApproved;}

                set{m_IsApproved=value;

                    GetField("IsApproved").Set();
                    GetField("IsApproved").IsNull=(value == null);           
                    }
          }
		 public bool IsLockedOut

          { 
                get { 
                    return m_IsLockedOut;}

                set{m_IsLockedOut=value;

                    GetField("IsLockedOut").Set();
                    GetField("IsLockedOut").IsNull=(value == null);           
                    }
          }
		 public DateTime LastActivityDate

          { 
                get { 
                    return m_LastActivityDate;}

                set{m_LastActivityDate=value;

                    GetField("LastActivityDate").Set();
                    GetField("LastActivityDate").IsNull=(value == null);           
                    }
          }
		 public DateTime LastLockoutDate

          { 
                get { 
                    return m_LastLockoutDate;}

                set{m_LastLockoutDate=value;

                    GetField("LastLockoutDate").Set();
                    GetField("LastLockoutDate").IsNull=(value == null);           
                    }
          }
		 public DateTime LastLoginDate

          { 
                get { 
                    return m_LastLoginDate;}

                set{m_LastLoginDate=value;

                    GetField("LastLoginDate").Set();
                    GetField("LastLoginDate").IsNull=(value == null);           
                    }
          }
		 public DateTime LastPasswordChangedDate

          { 
                get { 
                    return m_LastPasswordChangedDate;}

                set{m_LastPasswordChangedDate=value;

                    GetField("LastPasswordChangedDate").Set();
                    GetField("LastPasswordChangedDate").IsNull=(value == null);           
                    }
          }
		 public string LoweredEmail

          { 
                get { 
                    return m_LoweredEmail;}

                set{m_LoweredEmail=value;

                    GetField("LoweredEmail").Set();
                    GetField("LoweredEmail").IsNull=(value == null);           
                    }
          }
		 public string MobileAlias

          { 
                get { 
                    return m_MobileAlias;}

                set{m_MobileAlias=value;

                    GetField("MobileAlias").Set();
                    GetField("MobileAlias").IsNull=(value == null);           
                    }
          }
		 public string MobilePIN

          { 
                get { 
                    return m_MobilePIN;}

                set{m_MobilePIN=value;

                    GetField("MobilePIN").Set();
                    GetField("MobilePIN").IsNull=(value == null);           
                    }
          }
		 public string PasswordAnswer

          { 
                get { 
                    return m_PasswordAnswer;}

                set{m_PasswordAnswer=value;

                    GetField("PasswordAnswer").Set();
                    GetField("PasswordAnswer").IsNull=(value == null);           
                    }
          }
		 public int PasswordFormat

          { 
                get { 
                    return m_PasswordFormat;}

                set{m_PasswordFormat=value;

                    GetField("PasswordFormat").Set();
                    GetField("PasswordFormat").IsNull=(value == null);           
                    }
          }
		 public string PasswordQuestion

          { 
                get { 
                    return m_PasswordQuestion;}

                set{m_PasswordQuestion=value;

                    GetField("PasswordQuestion").Set();
                    GetField("PasswordQuestion").IsNull=(value == null);           
                    }
          }
		 public Guid UserId

          { 
                get { 
                    return m_UserId;}

                set{m_UserId=value;

                    GetField("UserId").Set();
                    GetField("UserId").IsNull=(value == null);           
                    }
          }
		 public string UserName

          { 
                get { 
                    return m_UserName;}

                set{m_UserName=value;

                    GetField("UserName").Set();
                    GetField("UserName").IsNull=(value == null);           
                    }
          }

}
}
